package com.cskaoyan.service;

import com.cskaoyan.bean.MarketCoupon;
import com.cskaoyan.bean.common.BaseRespVo;
import com.cskaoyan.bean.common.CommonData;

/**
 * @ClassName: CouponService
 * @Description: TODO
 * @Author: jenyutao@gmail.com
 * @date: 2023/5/30 16:19
 * @Version: V1.0
 */
public interface CouponService {

    CommonData<MarketCoupon> querySelective(String name, Short type, Short status, Integer page, Integer limit, String sort, String order);

    BaseRespVo create(MarketCoupon marketCoupon);

    BaseRespVo update(MarketCoupon marketCoupon);

//    BaseRespVo listuser(String couponId);
    BaseRespVo listuser(Integer page, Integer limit, Integer couponId, Integer userId, Short status, String sort, String order);

    BaseRespVo delete(MarketCoupon marketCoupon);

    BaseRespVo read(Integer id);
}
